import styled from "styled-components";

const HeaderRightWrapper = styled.div`
   flex: 1;
   display: flex;
   justify-content: flex-end;
   margin-right: 40px;
   .btns{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
    .register{
        margin: 10px;
    }
    .global{
        display: block;
        :hover{
            box-shadow: 10 10 #000;
        }

    }
    .register,.global,.login{
        cursor: pointer;
    }
}
.profile{
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px #eee solid;
    width: 90px;
    height: 45px;
    border-radius: 30px;
    cursor: pointer;
    ${props => props.theme.mixin.boxShadow} 
    .panel{
        position: absolute;
        top: 53px;
        right: 4px;
        width: 240px;
        background-color: #ffff;
        border: 1px solid #999;
        border-radius: 10px;
        .item{
            display: flex;
            align-items: center;
            height: 40px;
            font-size: 14px;
            color: #777;
            font-weight: 500;
            padding: 8px;
            &:hover{
                background-color: #f5f5f5;
                border-radius: 10px;
            }
        }
        /* .top,.bottom{
              padding: 10px;
        } */
        .top{
            border-bottom:1px solid #ccc ;
        }
    }
     
   }
`

export default HeaderRightWrapper;